* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
li {
    list-style: none;
}

/* 定位左上角图片 */
header .logo {
    position: absolute;
    top: 15px; /* 控制图片距离顶部的距离 */
    left: 10px; /* 控制图片距离左边的距离 */
    width: 300px; /* 控制图片的宽度，按需调整 */
    height: auto; /* 保持图片的比例 */
}

/* 保证 header 内容不被覆盖 */
header {
    position: relative; /* 让图片可以绝对定位在 header 中 */
    padding-left: 70px; /* 适当调整 padding，确保文字不被图片挡住 */
}

/* 如果需要，你也可以为图片加上 margin 或其他样式来微调 */

/* 声明字体*/
@font-face {
    font-family: electronicFont;
    src: url(../font/DS-DIGIT.TTF);
}
body {
    background: url(../images/bg.jpg) no-repeat top center;
    line-height: 1.15;
}
header {
    position: relative;
    height: 1.25rem;
    background: url(../images/head_bg.png) no-repeat;
    background-size: 100% 100%;
}
header h1 {
    font-size: 0.475rem;
    color: #fff;
    text-align: center;
    line-height: 1rem;
}
header .showTime {
    position: absolute;
    right: 0.375rem;
    top: 0;
    line-height: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.25rem;
}

.mainBox {
    display: flex;
    min-width: 1024px;
    max-width: 1920px;
    margin: 0 auto;
    /*height: 10.68rem; !*设定高度*!*/
    padding: 0.125rem 0.125rem 0;

    .column {
        flex:2;
    }
    .column:nth-child(1) {
        flex: 8;
        margin: 0 0.125rem 0.1875rem;
        overflow: hidden;
    }
}

.mainBox .panel {
    position: relative;
    height: 5.15rem;
    padding: 0 0.1875rem 0.5rem;
    border: 1px solid rgba(25, 186, 139, 0.17);
    margin-bottom: 0.1875rem;
    background: url(../images/line.png) rgba(255, 255, 255, 0.03);
}
.mainBox .panel::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-left: 2px solid #02a6b5;
    border-top: 2px solid #02a6b5;
    content: "";
}
.mainBox .panel::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid #02a6b5;
    border-top: 2px solid #02a6b5;
    content: "";
}
.mainBox .panel .panel-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.mainBox .panel .panel-footer::before {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 10px;
    height: 10px;
    border-left: 2px solid #02a6b5;
    border-bottom: 2px solid #02a6b5;
    content: "";
}
.mainBox .panel .panel-footer::after {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid #02a6b5;
    border-bottom: 2px solid #02a6b5;
    content: "";
}
/*一定要给图形高度，否则不会进行显示*/
.mainBox .panel .chart {
    height: 4.3rem;
}

.mainBox .panel {
    h2 {
        height: 0.6rem;
        color: #fff;
        line-height: 0.6rem;
        text-align: center;
        font-size: 0.25rem;
        font-weight: 800;
    }
    .bar .chart {
        height: 5rem;
    }
}

/*电厂信息表格样式*/
.no {
    background: rgba(101, 132, 226, 0.1);
    padding: 0.1875rem;


    .no-hd {
        padding-bottom: 0.2rem;
        padding-left: -0.1rem;
        .project-name-up {
            font-size: 0.28rem; /* 设置字体大小 */
            font-weight: bold; /* 设置字体加粗 */
            /* 你可以根据需要添加更多样式 */
        }
        .project-name-down {
            font-size: 0.28rem; /* 设置字体大小 */
            font-weight: bold; /* 设置字体加粗 */
            /* 你可以根据需要添加更多样式 */
        }
        position: relative;
        border: 1px solid rgba(25, 186, 139, 0.17);
        &::before {
            position: absolute;
            top: 0;
            left: 0;
            content: "";
            width: 30px;
            height: 10px;
            border-top: 2px solid #02a6b5;
            border-left: 2px solid #02a6b5;
        }
        &::after {
            position: absolute;
            bottom: 0;
            right: 0;
            content: "";
            width: 30px;
            height: 10px;
            border-bottom: 2px solid #02a6b5;
            border-right: 2px solid #02a6b5;
        }

        ul {
            display: flex;
            margin-bottom: 0.3rem;
            margin-top: 0.14rem;
            li {
                position: relative;
                flex: 1;
                /*line-height: 1rem;*/ /*行高*/
                font-size: 0.4rem;  /*字体大小*/
                color: #ffeb7b;
                text-align: center;
                font-family: "electronicFont", serif;
                &::after {
                    content: '';
                    position: absolute;
                    top: 25%;
                    height: 50%;
                    width: 1px;
                    right: 0;
                    background: rgba(255, 255, 255, 0.2);
                }
            }
        }
    }

    .no-bd {
        padding-bottom: 0.1rem;
        ul {
            display: flex;
            li {
                flex: 1;
                text-align: center;
                color: rgba(255, 255, 255, 0.7);
                font-size: 0.2rem;
                height: 0.5rem;
                line-height: 0.5rem;
                padding-bottom: 0.15rem;
            }
        }
    }
    .no-title {
        padding-bottom: 0.25rem;
        ul {
            display: flex;
            li {
                flex: 1;
                text-align: center;
                color: rgba(255, 255, 255, 0.7);
                font-size: 0.3rem;
                height: 0.5rem;
                line-height: 0.8rem;
                padding-bottom: 0.25rem;
            }
        }
    }
}




